/**
 * @author     Gabor Greif <ggreif@gmail.com>
 * @copyright  2009-2010 Gabor Greif
 * @license    http://www.opensource.org/licenses/mit-license.php  MIT License
 * @version    Release: 0.0
 */

#ifndef micker_CEXIT_hpp
#define micker_CEXIT_hpp

#include "Command.hpp"
#include <stdlib.h>

namespace micker {

struct Exit : Comm<>
{
    Exit(void)
    : Comm<>(ArgumentsMismatch<0>::proc<void, proc>)
    {}

    static std::string proc(void)
    {
        exit(0);
        return ""; // does not really return
    }
};

} // namespace micker

#endif // micker_CEXIT_hpp
